package data

import (
	"fmt"
)

type animal interface {
	eat(foodName string) int
	sleep(sleepTime uint8) bool
	say(word string) (string, error)
}

type dog struct {
	owner   string
	name    string
	dogType uint8
}

func (receiver dog) say(word string) {
	fmt.Printf(word)
}

type cat struct {
	owner   string
	name    string
	catType uint8
}
